import _fetch from './require'
function getUserList(params) {
 return   _fetch({
        url: '/user/list',
        params
    })
}
function resetStatus(data) {
 return   _fetch({
     url: '/user/status',
     method:'post',
    data
    })
}
function delUser(data) {
 return   _fetch({
     url: '/user/remove',
     method:'post',
    data
    })
}
function addUser(data) {
 return   _fetch({
     url: '/user/add',
     method:'post',
    data
    })
}
function editUser(data) {
 return   _fetch({
     url: '/user/edit',
     method:'post',
    data
    })
}
export {getUserList,resetStatus,delUser,addUser,editUser}